<?php
namespace Admin\Controller;
use Admin\Controller\CommonController;
use Common\Model\AdModel;
use Think\Controller;

class UpdateController extends  CommonController{


	public function index(){
		$model = new AdModel();
		$data = $model->getList();
		$url = U("admin/ad/index");
		$page = PageShow($data['count'],$url);
		$this->assign('data',$data)->assign('page',$page);

		$this->display();
	}


}
